package com.ruoyi.system.domain.vo.common;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 描述
 * 作者 ZhangPing
 * 创建时间 2023/9/19 11:55
 */
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Data
@ToString
public class DeviceGps {
    //设备号
    private String dvo;
    @Excel(name = "定位时间")
    private String gdt;
    //时间戳
    private Long gte;
    @Excel(name = "速度(km/h)")
    private Integer spd;
    //方向
    private Integer dre;
    //里程
    private Integer mie;
    private Double kilometer;
    //前端计算的轨迹段内实际里程数（导出用）
    @Excel(name = "行驶里程(km)")
    private Double totalKm;
    //当日里程
    private Double dayKMeter;
    @Excel(name = "定位位置")
    private String location;
    @Excel(name = "卫星数")
    private Integer satelliteCount;
    @Excel(name = "定位经度")
    private Double lng;
    @Excel(name = "定位纬度")
    private Double lat;
    //状态信息
    private List<Integer> sts;
    //报警信息
    private List<Integer> alm;
    //属性信息
    private JSONObject pop;
    //高程
    private Integer hgt;
    //距离下一个点位的距离，单位：米
    public Integer distance;

}
